<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
     <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>更改状态</title>
    <script src="../../script/api.js"></script>
    <link rel="stylesheet" type="text/css" href="../../css/mui.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/base.css"/>
    <!--<link rel="stylesheet" href="../../css/CFNetPP_Base.css">-->
   
</head>
<body>
	<div class="base_style_color " id='BarAppearance' style="height: 22px;width: 100%"></div>
    <div class="base_navigation_bar base_style_color base_navigation_item_bar">
        <a class="base_left_item" href="#" onclick="backClick()">
            <img class="base_back_icon" src="../../image/icon_jiantou.png" alt="">
        </a>
        <span>更改状态</span>
        <a class="base_right_item base_hide_item">
        </a>
        </div>  
    <div class="base_content_div">
         <div class="bgwhite padding10">
            <div id="segmentedControl" class="mui-segmented-control">
                <a id="item0" class="segment_item mui-control-item mui-active" href="#" onclick="itemClick(0)" >
                    已审核          
                </a>
                <a id="item1" class="segment_item mui-control-item" href="#" onclick="itemClick(1)">
                    未审核
                </a>
            </div>
        </div> 

    </div>
    <script type="text/javascript" src="../../script/jquery.min.js"></script>
    <script type="text/javascript" src="../../script/api.js"></script>
    <script>
     
        function itemClick(itemIndex){
            if ($(this).hasClass('mui-active')) {//如果有该class则不执行
                
            }else{
                $('.segment_item').removeClass('mui-active');
                $('#item' + itemIndex).addClass('mui-active');
            }
        }
        apiready = function(){
            setupSubframe();
        }
        function setupSubframe(){
            var y = $('.base_navigation_bar').height()+$('.base_content_div').height()+22;
            var h = api.winHeight - y;
            api.openFrame({
                name: 'teachercheck1',
                url: 'teachercheck1.html',
                rect: {
                    x: 0,
                    y: y,
                    w: 'auto',
                    h: h
                },
                bounces: false,
                vScrollBarEnabled: true,
                hScrollBarEnabled: false
            });
        }
        function backClick(){
            api.closeWin();
        }
         
      
        
    
        
    </script>
</body>
</html>